    <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/skin/back-end/css/tablemain.css"/>
    <h1>News Management <span class="greysubheading">Edit news</span></h1> 
    <form id="news-form" action="" method="POST" enctype="multipart/form-data" name="form"> 
      <table width="100%" cellspacing="1">          
        <thead> 
          <tr> 
            <th scope="col">Fields</th> 
            <th scope="col">Data's</th> 
          </tr> 
        </thead>
        <tbody>
	        <?php echo textfield('title','Title*',((array_key_exists('title', $news))?$news['title']:null))?>
	        <?php echo textfield('url','Url*',((array_key_exists('url', $news))?$news['url']:null))?>          
          	<?php echo richtext('content','Content',((array_key_exists('content', $news))?$news['content']:null))?>
          	<?php echo datefield('date','Date',((array_key_exists('date', $news))?$news['date']:null))?>
          	<?php echo image('image','Image',((array_key_exists('image', $news))?$news['image']:null))?>
          	<?php echo dropdown('language','Language',$langList, ((array_key_exists('language', $news))?$news['language']:null))?>          
        </tbody> 
        <tfoot> 
          <tr> 
            <th scope="row"></th> 
            <td><!--pagination --> 
              <div id="central" align="center">
                  <table> 
                    <tr> 
                      <td><input type="submit" id="button" value="Edit" /></td> 
                      <td><input type="reset" id="reset" value="Reset" onClick="location.reload(true)"/></td> 
                    </tr> 
                  </table> 
              </div></td> 
          </tr> 
        </tfoot>
      </table> 
      <p>&nbsp;</p> 
    </form> 
    <!-- InstanceEndEditable --> 